package com.kee.server.manager.dao;

import java.sql.SQLException;

import com.kee.server.dao.BaseDao;
import com.kee.server.manager.bean.ContentTxt;

public class ContentTxtDaoImpl extends BaseDao implements IContentTxtDao {

	public void add(ContentTxt txt) throws SQLException {
		sqlMapClientImport.insert("addContentTxt", txt);
	}

	public static void main(String[] args) {
		ContentTxtDaoImpl ct = new ContentTxtDaoImpl();
		ContentTxt txt = new ContentTxt();
		txt.setContent_id(549);
		txt.setTxt("这只是一条测试数据");
		try {
			ct.add(txt);
		} catch (SQLException e) {
			e.printStackTrace();
		}
	}
}
